<?php if(!defined('IN_PISCES')){exit('Access Denied.');}?>
<div class="returnmenu">
	<h2>返现申请列表</h2>
	<ul class="filter"> 
		<li class="label">分类: </li> 
		<li {if $this->data['status']==''}class="current"{/if}><a href="{url('Return','Index')}">全部</a></li>
		<li {if $this->data['status']==='0'}class="current"{/if}><a href="{url('Return','Index',array('status'=>'0'))}">未处理</a></li>
		<li {if $this->data['status']==1}class="current"{/if}><a href="{url('Return','Index',array('status'=>'1'))}">已返现</a></li>
	</ul>
</div>

<table class="common-table">
<tr><th width="40">ID</th><th width="150">金额</th><th width="200">支付宝账号</th><th width="150">申请时间</th><th width="150" nowrap>审核时间</th><th width="120" nowrap>状态</th><th width="100">操作</th></tr>
{if !empty($this->data['data']['rows'])}
<!--{loop $this->data['data']['rows'] $k $item}-->
<tr{if $k%2==1} class="odd"{/if}>
	<td>{$this->data['start']+$k+1}</td> 
	<td nowrap>{$item['money']}</td> 
	<td nowrap>{$item['alipay_account']}</td> 
	<td nowrap>{$item['created']}</td>
	<td nowrap>{$item['check_time']}</td>
	<td nowrap>{if $item['status']==0}未处理{/if}{if $item['status']==1}已返现{/if}</td>
	<td class="op" nowrap>{if $item['status']!=1}<a href="{url('Return','Del',array('id'=>$item['id']))}" onclick="return confirm('确定要删除么？');">删除</a>{/if}</td> 
</tr>
<!--{/loop}-->
{/if}
</table>
<div class="pager mt10">{$this->data['pages']}</div>
